<template>
    <div class="page">
      <h1>Hello</h1>
      <el-form>
        <el-form-item label="角色">
          <RoleSelect v-model="roles" />
        </el-form-item>
      </el-form>

    </div>
  </template>

<script>
import MenuCheck from "@/components/menu-check/index.vue";
import RoleSelect from "@/components/role-select/index.vue"

export default {
  name: "Hello",
 
  components: {
    MenuCheck,
    RoleSelect
  },

  data() {
    return {
      roleIds: [1, 2, 4],
      roles:[2]
    };
  },
};
</script>